from flask import Flask
import requests

app = Flask(__name__)

api_address = "http://127.0.0.1:6000/hcapi"

j = '{"mac_code": "b89a2a6a20dd", "machine_name": "LAPTOP-A3MTP761"}'
data = {}
data["data"] = j

reponse = requests.post(api_address, data=data)
print(reponse.status_code)

